Enabling trace logging for various connectors
Set a runtime property to capture additional request and response message logging.
Before you begin
You must have the Runtime Management privilege to perform this task. If you have the Runtime Management Read Access privilege, you cannot perform the task.
About this task
Sometimes a connector call in your process encounters errors. If you need more information than the error message supplies, or if you want an alternative to using Charles Proxy, you can set a runtime property to capture additional request and response message logging.
Trace logging is available only on local basic runtimes, runtime clusters, and private runtime clouds. You cannot use trace logging if your processes run on a runtime cloud.
Procedure
-
Go to Manage > Runtime Management.
-
Select the runtime from the list on the left.
-
In Settings & Configuration, click Properties.
-
Click the Advanced tab.
-
Select the Connector Trace Logging (connector.trace) property, then click Add Property and type true in the Property Value field.
-
Click Save.
Because changes to this property do not take effect until the runtime is restarted, you are prompted to restart. You have the option to restart now or restart later.
-
If the connector that you are debugging uses the HttpURLConnection, set up the HttpCapture rules configuration file. Create a file named http_capture_rules.txt and save it in the
<atom_installation_directory>/confdirectory. See the troubleshooting topic for information about how to add rules to the file.
Next steps
Detailed message logging appears in the container log for all connectors that use this runtime and that use one of the supported frameworks. Only set this property to “true” for as long as you need to debug the connector. Leaving it on all the time floods your account with messages.